/* 头部区域整体样式 */
.el-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

/* 欢迎文本样式 */
.el-header strong {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #303133;
    transition: all 0.3s ease;
}

.el-header strong:hover {
    color: #ffd04b;
    text-shadow: 0 0 1px rgba(255, 208, 75, 0.7);
}

/* 下拉菜单容器样式 */
/* 下拉菜单容器 */
.el-dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 8px 0;
    animation: fadeIn 0.3s ease-out;
    background-color: #ffffff;
}

/* 菜单项基础样式 */
.el-dropdown-item {
    height: 44px;
    line-height: 44px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

/* 菜单项图标 */
.el-dropdown-item .el-icon {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    color: #666;
    transition: transform 0.3s ease;
}

/* 菜单项悬停效果 */
.el-dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ff7d00;
    transform: translateX(4px);
}

.el-dropdown-item:hover .el-icon {
    transform: scale(1.2);
    color: #ff7d00;
}

/* 菜单项分割线 */
.el-dropdown-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background-color: #f0f0f0;
}

/* 特殊菜单项 - 退出登录 */
.el-dropdown-item[command="logout"] {
    color: #ff4d4f;
}

.el-dropdown-item[command="logout"] .el-icon {
    color: #ff4d4f;
}

.el-dropdown-item[command="logout"]:hover {
    background-color: #fff2f0;
}

/* 下拉菜单动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}    

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 提示框样式 */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    white-space: nowrap;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}    